package top.infopub.mgr.adm.service;

import java.util.List;

import com.github.pagehelper.Page;

import top.infopub.mgr.adm.domain.MeetingRecordDomain;
import top.infopub.mgr.adm.vo.MeetingRecordVo;
import top.infopub.model.adm.MeetingRecord;
import top.infopub.model.adm.MeetingRecordAtt;
import top.infopub.generic.GenericService;

public interface MeetingRecordService extends GenericService<MeetingRecord, String> {

    /**
     * 根据条件-查询分页数据
     * @param page
     * @param meetingRecordVo
     * @return 
     * @see
     */
    Page<MeetingRecordDomain> selectByDomainWhere(Page<MeetingRecordDomain> page,
                                                  MeetingRecordVo meetingRecordVo);
    /**
     * 根据条件-查询-我审批的分页数据
     * @param page
     * @param meetingRecordVo
     * @return 
     * @see
     */
    Page<MeetingRecordDomain> selectMyCheckByDomainWhere(Page<MeetingRecordDomain> page,
                                                         MeetingRecordVo meetingRecordVo);

    /**
     * 判断会议时间是否有重叠
     */
    List<MeetingRecord> isExistTime(MeetingRecord meetingRecord);
    /**
     * 添加会议申请
     */
    void saveMeetingRecord(MeetingRecord meetingRecord,List<MeetingRecordAtt> meetingRecordAtts);
    /**
     * 会议申请详情
     */
    MeetingRecordVo queryById(String id);
    
}